<script setup lang="ts">
import ProConfigProvider from '@/components/basic/pro-config-provider/index.vue';
import { modalProps } from 'ant-design-vue/es/modal/Modal';
import { ref } from 'vue'



const props = defineProps({
  ...modalProps(),
  fullscreen: {
    type: Boolean,
    default: false,
  },
});


const fullscreenModel = ref(props.fullscreen);

</script>

<template>
  <teleport :to="'body'">
    <ProConfigProvider>
      <div ref="modalWrapRef" class="draggable-modal" :class="{ fullscreen: fullscreenModel }">
      </div>
    </ProConfigProvider>
  </teleport>
</template>

<style scoped lang="less">

</style>
